package com.naiterui.ehp.bs.ds.modules.order.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;
import com.naiterui.ehp.bs.ds.common.json.Dict;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

@Data
public class OrderVO implements java.io.Serializable {

    private static final long serialVersionUID = 1965125238050057446L;

    @ApiModelProperty(value = "订单ID")
    private Long id;

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号")
    private String orderSn;

    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 订单状态
     */
    @ApiModelProperty(value = "订单状态")
    @Dict(type = "order_status")
    private Integer orderStatus;

    /**
     * 实付(分)
     */
    @Fen2Yuan
    @ApiModelProperty(value = "实付")
    private Integer realPay;

    /**
     * 应付
     */
    @Fen2Yuan
    @ApiModelProperty(value = "应付")
    private Integer totalMoney;
    /**
     * 邮费(分)
     */
    @Fen2Yuan
    @ApiModelProperty(value = "邮费")
    private Integer freight;

    /**
     * 发货时间
     */
    @ApiModelProperty(value = "发货时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    @ApiModelProperty(value = "发货时间开始时间")
    private String sendTimeGte;

    @ApiModelProperty(value = "发货时间结束时间")
    private String sendTimeLte;

    @ApiModelProperty(value = "订单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt;

    @ApiModelProperty(value = "商品sku码")
    private String skuNumber;

    @ApiModelProperty(value = "商品名称")
    private String skuName;

    /**
     * 收件人姓名
     */
    @ApiModelProperty(value = "收件人姓名")
    private String receiver;

}

